home *** CD-ROM | disk | FTP | other *** search
/ SPACE 2 / SPACE - Library 2 - Volume 1.iso / program / 562 / perl4_10.zoo / config.h < prev    next >
Encoding:
C/C++ Source or Header  |  1991-10-09  |  24.3 KB  |  848 lines

  1. #ifndef config_h
  2. #define config_h
  3. /* config.h
  4.  * This file was produced by running the config.h.SH script, which
  5.  * gets its values from config.sh, which is generally produced by
  6.  * running Configure.
  7.  *
  8.  * Feel free to modify any of this as the need arises.  Note, however,
  9.  * that running config.h.SH again will wipe out any changes you've made.
  10.  * For a more permanent change edit config.sh and rerun config.h.SH.
  11.  */
  12.  
  13.  
  14. /* EUNICE
  15.  *    This symbol, if defined, indicates that the program is being compiled
  16.  *    under the EUNICE package under VMS.  The program will need to handle
  17.  *    things like files that don't go away the first time you unlink them,
  18.  *    due to version numbering.  It will also need to compensate for lack
  19.  *    of a respectable link() command.
  20.  */
  21. /* VMS
  22.  *    This symbol, if defined, indicates that the program is running under
  23.  *    VMS.  It is currently only set in conjunction with the EUNICE symbol.
  24.  */
  25. /*#undef    EUNICE        /**/
  26. /*#undef    VMS        /**/
  27.  
  28. /* ALIGNBYTES
  29.  *    This symbol contains the number of bytes required to align a double.
  30.  *    Usual values are 2, 4, and 8.
  31.  */
  32. #define ALIGNBYTES 2        /**/
  33.  
  34. /* BIN
  35.  *    This symbol holds the name of the directory in which the user wants
  36.  *    to keep publicly executable images for the package in question.  It
  37.  *    is most often a local directory such as /usr/local/bin.
  38.  */
  39. #define BIN "/bin"             /**/
  40.  
  41. /* BYTEORDER
  42.  *    This symbol contains an encoding of the order of bytes in a long.
  43.  *    Usual values (in octal) are 01234, 04321, 02143, 03412...
  44.  */
  45. #define BYTEORDER 0x4321        /**/
  46.  
  47. /* CPPSTDIN
  48.  *    This symbol contains the first part of the string which will invoke
  49.  *    the C preprocessor on the standard input and produce to standard
  50.  *    output.     Typical value of "cc -E" or "/lib/cpp".
  51.  */
  52. /* CPPMINUS
  53.  *    This symbol contains the second part of the string which will invoke
  54.  *    the C preprocessor on the standard input and produce to standard
  55.  *    output.  This symbol will have the value "-" if CPPSTDIN needs a minus
  56.  *    to specify standard input, otherwise the value is "".
  57.  */
  58. #define CPPSTDIN "gcc -E"
  59. #define CPPMINUS ""
  60.  
  61. /* HAS_BCMP
  62.  *    This symbol, if defined, indicates that the bcmp routine is available
  63.  *    to compare blocks of memory.  If undefined, use memcmp.  If that's
  64.  *    not available, roll your own.
  65.  */
  66. #define    HAS_BCMP        /**/
  67.  
  68. /* HAS_BCOPY
  69.  *    This symbol, if defined, indicates that the bcopy routine is available
  70.  *    to copy blocks of memory.  Otherwise you should probably use memcpy().
  71.  */
  72. #define    HAS_BCOPY        /**/
  73.  
  74. /* HAS_BZERO
  75.  *    This symbol, if defined, indicates that the bzero routine is available
  76.  *    to zero blocks of memory.  Otherwise you should probably use memset()
  77.  *    or roll your own.
  78.  */
  79. #define    HAS_BZERO        /**/
  80.  
  81. /* CASTNEGFLOAT
  82.  *    This symbol, if defined, indicates that this C compiler knows how to
  83.  *    cast negative or large floating point numbers to unsigned longs, ints
  84.  *    and shorts.
  85.  */
  86. /* CASTFLAGS
  87.  *    This symbol contains flags that say what difficulties the compiler
  88.  *    has casting odd floating values to unsigned long:
  89.  *        1 = couldn't cast < 0
  90.  *        2 = couldn't cast >= 0x80000000
  91.  */
  92. #define    CASTNEGFLOAT    /**/
  93. #define    CASTFLAGS 0    /**/
  94.  
  95. /* CHARSPRINTF
  96.  *    This symbol is defined if this system declares "char *sprintf()" in
  97.  *    stdio.h.  The trend seems to be to declare it as "int sprintf()".  It
  98.  *    is up to the package author to declare sprintf correctly based on the
  99.  *    symbol.
  100.  */
  101. /* #define    CHARSPRINTF     /**/
  102.  
  103. /* HAS_CHSIZE
  104.  *    This symbol, if defined, indicates that the chsize routine is available
  105.  *    to truncate files.  You might need a -lx to get this routine.
  106.  */
  107. /*#undef    HAS_CHSIZE        /**/
  108.  
  109. /* HAS_CRYPT
  110.  *    This symbol, if defined, indicates that the crypt routine is available
  111.  *    to encrypt passwords and the like.
  112.  */
  113. /* #define    HAS_CRYPT        /**/
  114.  
  115. /* CSH
  116.  *    This symbol, if defined, indicates that the C-shell exists.
  117.  *    If defined, contains the full pathname of csh.
  118.  */
  119. /* #define CSH "/bin/csh"        /**/
  120.  
  121. /* DOSUID
  122.  *    This symbol, if defined, indicates that the C program should
  123.  *    check the script that it is executing for setuid/setgid bits, and
  124.  *    attempt to emulate setuid/setgid on systems that have disabled
  125.  *    setuid #! scripts because the kernel can't do it securely.
  126.  *    It is up to the package designer to make sure that this emulation
  127.  *    is done securely.  Among other things, it should do an fstat on
  128.  *    the script it just opened to make sure it really is a setuid/setgid
  129.  *    script, it should make sure the arguments passed correspond exactly
  130.  *    to the argument on the #! line, and it should not trust any
  131.  *    subprocesses to which it must pass the filename rather than the
  132.  *    file descriptor of the script to be executed.
  133.  */
  134. /*#undef DOSUID        /**/
  135.  
  136. /* HAS_DUP2
  137.  *    This symbol, if defined, indicates that the dup2 routine is available
  138.  *    to dup file descriptors.  Otherwise you should use dup().
  139.  */
  140. #define    HAS_DUP2        /**/
  141.  
  142. /* HAS_FCHMOD
  143.  *    This symbol, if defined, indicates that the fchmod routine is available
  144.  *    to change mode of opened files.  If unavailable, use chmod().
  145.  */
  146. /* #define    HAS_FCHMOD        /**/
  147.  
  148. /* HAS_FCHOWN
  149.  *    This symbol, if defined, indicates that the fchown routine is available
  150.  *    to change ownership of opened files.  If unavailable, use chown().
  151.  */
  152. /* #define    HAS_FCHOWN        /**/
  153.  
  154. /* HAS_FCNTL
  155.  *    This symbol, if defined, indicates to the C program that
  156.  *    the fcntl() function exists.
  157.  */
  158. /* #define    HAS_FCNTL        /**/
  159.  
  160. /* FLEXFILENAMES
  161.  *    This symbol, if defined, indicates that the system supports filenames
  162.  *    longer than 14 characters.
  163.  */
  164. /* #define    FLEXFILENAMES        /**/
  165.  
  166. /* HAS_FLOCK
  167.  *    This symbol, if defined, indicates that the flock() routine is
  168.  *    available to do file locking.
  169.  */
  170. /* #define    HAS_FLOCK        /**/
  171.  
  172. /* HAS_GETGROUPS
  173.  *    This symbol, if defined, indicates that the getgroups() routine is
  174.  *    available to get the list of process groups.  If unavailable, multiple
  175.  *    groups are probably not supported.
  176.  */
  177. /* #define    HAS_GETGROUPS        /**/
  178.  
  179. /* HAS_GETHOSTENT
  180.  *    This symbol, if defined, indicates that the gethostent() routine is
  181.  *    available to lookup host names in some data base or other.
  182.  */
  183. /* #define    HAS_GETHOSTENT        /**/
  184.  
  185. /* HAS_GETPGRP
  186.  *    This symbol, if defined, indicates that the getpgrp() routine is
  187.  *    available to get the current process group.
  188.  */
  189. /* #define    HAS_GETPGRP        /**/
  190.  
  191. /* HAS_GETPGRP2
  192.  *    This symbol, if defined, indicates that the getpgrp2() (as in DG/UX)
  193.  *    routine is available to get the current process group.
  194.  */
  195. /*#undef    HAS_GETPGRP2        /**/
  196.  
  197. /* HAS_GETPRIORITY
  198.  *    This symbol, if defined, indicates that the getpriority() routine is
  199.  *    available to get a process's priority.
  200.  */
  201. /* #define    HAS_GETPRIORITY        /**/
  202.  
  203. /* HAS_HTONS
  204.  *    This symbol, if defined, indicates that the htons routine (and friends)
  205.  *    are available to do network order byte swapping.
  206.  */
  207. /* HAS_HTONL
  208.  *    This symbol, if defined, indicates that the htonl routine (and friends)
  209.  *    are available to do network order byte swapping.
  210.  */
  211. /* HAS_NTOHS
  212.  *    This symbol, if defined, indicates that the ntohs routine (and friends)
  213.  *    are available to do network order byte swapping.
  214.  */
  215. /* HAS_NTOHL
  216.  *    This symbol, if defined, indicates that the ntohl routine (and friends)
  217.  *    are available to do network order byte swapping.
  218.  */
  219. /* #define    HAS_HTONS    /**/
  220. /* #define    HAS_HTONL    /**/
  221. /* #define    HAS_NTOHS    /**/
  222. /* #define    HAS_NTOHL    /**/
  223.  
  224. /* index
  225.  *    This preprocessor symbol is defined, along with rindex, if the system
  226.  *    uses the strchr and strrchr routines instead.
  227.  */
  228. /* rindex
  229.  *    This preprocessor symbol is defined, along with index, if the system
  230.  *    uses the strchr and strrchr routines instead.
  231.  */
  232. /* #define    index strchr    /* cultural */
  233. /* #define    rindex strrchr    /*  differences? */
  234. #include <string.h>
  235.  
  236. /* HAS_KILLPG
  237.  *    This symbol, if defined, indicates that the killpg routine is available
  238.  *    to kill process groups.  If unavailable, you probably should use kill
  239.  *    with a negative process number.
  240.  */
  241. /* #define    HAS_KILLPG        /**/
  242.  
  243. /* HAS_LSTAT
  244.  *    This symbol, if defined, indicates that the lstat() routine is
  245.  *    available to stat symbolic links.
  246.  */
  247. #define    HAS_LSTAT        /**/
  248.  
  249. /* HAS_MEMCMP
  250.  *    This symbol, if defined, indicates that the memcmp routine is available
  251.  *    to compare blocks of memory.  If undefined, roll your own.
  252.  */
  253. #define    HAS_MEMCMP        /**/
  254.  
  255. /* HAS_MEMCPY
  256.  *    This symbol, if defined, indicates that the memcpy routine is available
  257.  *    to copy blocks of memory.  Otherwise you should probably use bcopy().
  258.  *    If neither is defined, roll your own.
  259.  */
  260. #define    HAS_MEMCPY        /**/
  261.  
  262. /* HAS_MKDIR
  263.  *    This symbol, if defined, indicates that the mkdir routine is available
  264.  *    to create directories.  Otherwise you should fork off a new process to
  265.  *    exec /bin/mkdir.
  266.  */
  267. #define    HAS_MKDIR        /**/
  268.  
  269. /* HAS_MSG
  270.  *    This symbol, if defined, indicates that the entire msg*(2) library is
  271.  *    supported.
  272.  */
  273. /* #define    HAS_MSG        /**/
  274.  
  275. /* HAS_MSGCTL
  276.  *    This symbol, if defined, indicates that the msgctl() routine is
  277.  *    available to stat symbolic links.
  278.  */
  279. /* #define    HAS_MSGCTL        /**/
  280.  
  281. /* HAS_MSGGET
  282.  *    This symbol, if defined, indicates that the msgget() routine is
  283.  *    available to stat symbolic links.
  284.  */
  285. /* #define    HAS_MSGGET        /**/
  286.  
  287. /* HAS_MSGRCV
  288.  *    This symbol, if defined, indicates that the msgrcv() routine is
  289.  *    available to stat symbolic links.
  290.  */
  291. /* #define    HAS_MSGRCV        /**/
  292.  
  293. /* HAS_MSGSND
  294.  *    This symbol, if defined, indicates that the msgsnd() routine is
  295.  *    available to stat symbolic links.
  296.  */
  297. /* #define    HAS_MSGSND        /**/
  298.  
  299. /* HAS_NDBM
  300.  *    This symbol, if defined, indicates that ndbm.h exists and should
  301.  *    be included.
  302.  */
  303. /* #define    HAS_NDBM        /**/
  304.  
  305. /* HAS_ODBM
  306.  *    This symbol, if defined, indicates that dbm.h exists and should
  307.  *    be included.
  308.  */
  309. /* #define    HAS_ODBM        /**/
  310.  
  311. /* HAS_OPEN3
  312.  *    This manifest constant lets the C program know that the three
  313.  *    argument form of open(2) is available.
  314.  */
  315. #define    HAS_OPEN3        /**/
  316.  
  317. /* HAS_READDIR
  318.  *    This symbol, if defined, indicates that the readdir routine is available
  319.  *    from the C library to read directories.
  320.  */
  321. #define    HAS_READDIR        /**/
  322.  
  323. /* HAS_RENAME
  324.  *    This symbol, if defined, indicates that the rename routine is available
  325.  *    to rename files.  Otherwise you should do the unlink(), link(), unlink()
  326.  *    trick.
  327.  */
  328. #define    HAS_RENAME        /**/
  329.  
  330. /* HAS_RMDIR
  331.  *    This symbol, if defined, indicates that the rmdir routine is available
  332.  *    to remove directories.  Otherwise you should fork off a new process to
  333.  *    exec /bin/rmdir.
  334.  */
  335. #define    HAS_RMDIR        /**/
  336.  
  337. /* HAS_SELECT
  338.  *    This symbol, if defined, indicates that the select() subroutine
  339.  *    exists.
  340.  */
  341. /* #define    HAS_SELECT    /**/
  342.  
  343. /* HAS_SEM
  344.  *    This symbol, if defined, indicates that the entire sem*(2) library is
  345.  *    supported.
  346.  */
  347. /* #define    HAS_SEM        /**/
  348.  
  349. /* HAS_SEMCTL
  350.  *    This symbol, if defined, indicates that the semctl() routine is
  351.  *    available to stat symbolic links.
  352.  */
  353. /* #define    HAS_SEMCTL        /**/
  354.  
  355. /* HAS_SEMGET
  356.  *    This symbol, if defined, indicates that the semget() routine is
  357.  *    available to stat symbolic links.
  358.  */
  359. /* #define    HAS_SEMGET        /**/
  360.  
  361. /* HAS_SEMOP
  362.  *    This symbol, if defined, indicates that the semop() routine is
  363.  *    available to stat symbolic links.
  364.  */
  365. /* #define    HAS_SEMOP        /**/
  366.  
  367. /* HAS_SETEGID
  368.  *    This symbol, if defined, indicates that the setegid routine is available
  369.  *    to change the effective gid of the current program.
  370.  */
  371. /* #define    HAS_SETEGID        /**/
  372.  
  373. /* HAS_SETEUID
  374.  *    This symbol, if defined, indicates that the seteuid routine is available
  375.  *    to change the effective uid of the current program.
  376.  */
  377. /* #define    HAS_SETEUID        /**/
  378.  
  379. /* HAS_SETPGRP
  380.  *    This symbol, if defined, indicates that the setpgrp() routine is
  381.  *    available to set the current process group.
  382.  */
  383. /* #define    HAS_SETPGRP        /**/
  384.  
  385. /* HAS_SETPGRP2
  386.  *    This symbol, if defined, indicates that the setpgrp2() (as in DG/UX)
  387.  *    routine is available to set the current process group.
  388.  */
  389. /*#undef    HAS_SETPGRP2        /**/
  390.  
  391. /* HAS_SETPRIORITY
  392.  *    This symbol, if defined, indicates that the setpriority() routine is
  393.  *    available to set a process's priority.
  394.  */
  395. /* #define    HAS_SETPRIORITY        /**/
  396.  
  397. /* HAS_SETREGID
  398.  *    This symbol, if defined, indicates that the setregid routine is
  399.  *    available to change the real and effective gid of the current program.
  400.  */
  401. /* HAS_SETRESGID
  402.  *    This symbol, if defined, indicates that the setresgid routine is
  403.  *    available to change the real, effective and saved gid of the current
  404.  *    program.
  405.  */
  406. /* #define    HAS_SETREGID        /**/
  407. /*#undef    HAS_SETRESGID        /**/
  408.  
  409. /* HAS_SETREUID
  410.  *    This symbol, if defined, indicates that the setreuid routine is
  411.  *    available to change the real and effective uid of the current program.
  412.  */
  413. /* HAS_SETRESUID
  414.  *    This symbol, if defined, indicates that the setresuid routine is
  415.  *    available to change the real, effective and saved uid of the current
  416.  *    program.
  417.  */
  418. /* #define    HAS_SETREUID        /**/
  419. /*#undef    HAS_SETRESUID        /**/
  420.  
  421. /* HAS_SETRGID
  422.  *    This symbol, if defined, indicates that the setrgid routine is available
  423.  *    to change the real gid of the current program.
  424.  */
  425. /* #define    HAS_SETRGID        /**/
  426.  
  427. /* HAS_SETRUID
  428.  *    This symbol, if defined, indicates that the setruid routine is available
  429.  *    to change the real uid of the current program.
  430.  */
  431. /* #define    HAS_SETRUID        /**/
  432.  
  433. /* HAS_SHM
  434.  *    This symbol, if defined, indicates that the entire shm*(2) library is
  435.  *    supported.
  436.  */
  437. /* #define    HAS_SHM        /**/
  438.  
  439. /* HAS_SHMAT
  440.  *    This symbol, if defined, indicates that the shmat() routine is
  441.  *    available to stat symbolic links.
  442.  */
  443. /* VOID_SHMAT
  444.  *    This symbol, if defined, indicates that the shmat() routine
  445.  *    returns a pointer of type void*.
  446.  */
  447. /* #define    HAS_SHMAT        /**/
  448.  
  449. /*#undef    VOIDSHMAT        /**/
  450.  
  451. /* HAS_SHMCTL
  452.  *    This symbol, if defined, indicates that the shmctl() routine is
  453.  *    available to stat symbolic links.
  454.  */
  455. /* #define    HAS_SHMCTL        /**/
  456.  
  457. /* HAS_SHMDT
  458.  *    This symbol, if defined, indicates that the shmdt() routine is
  459.  *    available to stat symbolic links.
  460.  */
  461. /* #define    HAS_SHMDT        /**/
  462.  
  463. /* HAS_SHMGET
  464.  *    This symbol, if defined, indicates that the shmget() routine is
  465.  *    available to stat symbolic links.
  466.  */
  467. /* #define    HAS_SHMGET        /**/
  468.  
  469. /* HAS_SOCKET
  470.  *    This symbol, if defined, indicates that the BSD socket interface is
  471.  *    supported.
  472.  */
  473. /* HAS_SOCKETPAIR
  474.  *    This symbol, if defined, indicates that the BSD socketpair call is
  475.  *    supported.
  476.  */
  477. /* OLDSOCKET
  478.  *    This symbol, if defined, indicates that the 4.1c BSD socket interface
  479.  *    is supported instead of the 4.2/4.3 BSD socket interface.
  480.  */
  481. /* #define    HAS_SOCKET        /**/
  482.  
  483. /* #define    HAS_SOCKETPAIR    /**/
  484.  
  485. /*#undef    OLDSOCKET    /**/
  486.  
  487. /* STATBLOCKS
  488.  *    This symbol is defined if this system has a stat structure declaring
  489.  *    st_blksize and st_blocks.
  490.  */
  491. #define    STATBLOCKS     /**/
  492.  
  493. /* STDSTDIO
  494.  *    This symbol is defined if this system has a FILE structure declaring
  495.  *    _ptr and _cnt in stdio.h.
  496.  */
  497. /* #define    STDSTDIO     /**/ /* we do, but semantics are different */
  498.  
  499. /* STRUCTCOPY
  500.  *    This symbol, if defined, indicates that this C compiler knows how
  501.  *    to copy structures.  If undefined, you'll need to use a block copy
  502.  *    routine of some sort instead.
  503.  */
  504. #define    STRUCTCOPY    /**/
  505.  
  506. /* HAS_STRERROR
  507.  *    This symbol, if defined, indicates that the strerror() routine is
  508.  *    available to translate error numbers to strings.
  509.  */
  510. #define    HAS_STRERROR        /**/
  511.  
  512. /* HAS_SYMLINK
  513.  *    This symbol, if defined, indicates that the symlink routine is available
  514.  *    to create symbolic links.
  515.  */
  516. #define    HAS_SYMLINK        /**/
  517.  
  518. /* HAS_SYSCALL
  519.  *    This symbol, if defined, indicates that the syscall routine is available
  520.  *    to call arbitrary system calls.  If undefined, that's tough.
  521.  */
  522. /* we will use this to call gemdos/bios/xbios/lineA see atarist.c */
  523. #define    HAS_SYSCALL        /**/
  524.  
  525. /* HAS_TRUNCATE
  526.  *    This symbol, if defined, indicates that the truncate routine is
  527.  *    available to truncate files.
  528.  */
  529. /* #define    HAS_TRUNCATE        /**/
  530.  
  531. /* HAS_VFORK
  532.  *    This symbol, if defined, indicates that vfork() exists.
  533.  */
  534. #ifdef __MINT__
  535. #define    HAS_VFORK    /**/
  536. #endif
  537.  
  538. /* VOIDSIG
  539.  *    This symbol is defined if this system declares "void (*signal())()" in
  540.  *    signal.h.  The old way was to declare it as "int (*signal())()".  It
  541.  *    is up to the package author to declare things correctly based on the
  542.  *    symbol.
  543.  */
  544. /* TO_SIGNAL
  545.  *    This symbol's value is either "void" or "int", corresponding to the
  546.  *    appropriate return "type" of a signal handler.  Thus, one can declare
  547.  *    a signal handler using "TO_SIGNAL (*handler())()", and define the
  548.  *    handler using "TO_SIGNAL handler(sig)".
  549.  */
  550. #define    VOIDSIG     /**/
  551. #define    TO_SIGNAL    void     /**/
  552.  
  553. /* HASVOLATILE
  554.  *    This symbol, if defined, indicates that this C compiler knows about
  555.  *    the volatile declaration.
  556.  */
  557. #define    HASVOLATILE    /**/
  558.  
  559. /* HAS_VPRINTF
  560.  *    This symbol, if defined, indicates that the vprintf routine is available
  561.  *    to printf with a pointer to an argument list.  If unavailable, you
  562.  *    may need to write your own, probably in terms of _doprnt().
  563.  */
  564. /* CHARVSPRINTF
  565.  *    This symbol is defined if this system has vsprintf() returning type
  566.  *    (char*).  The trend seems to be to declare it as "int vsprintf()".  It
  567.  *    is up to the package author to declare vsprintf correctly based on the
  568.  *    symbol.
  569.  */
  570. #define    HAS_VPRINTF    /**/
  571. /* #define    CHARVSPRINTF     /**/
  572.  
  573. /* HAS_WAIT4
  574.  *    This symbol, if defined, indicates that wait4() exists.
  575.  */
  576. /* #define    HAS_WAIT4    /**/
  577.  
  578. /* HAS_WAITPID
  579.  *    This symbol, if defined, indicates that waitpid() exists.
  580.  */
  581. /*#undef    HAS_WAITPID    /**/
  582.  
  583. /* GIDTYPE
  584.  *    This symbol has a value like gid_t, int, ushort, or whatever type is
  585.  *    used to declare group ids in the kernel.
  586.  */
  587. #define GIDTYPE gid_t        /**/
  588.  
  589. /* GROUPSTYPE
  590.  *    This symbol has a value like gid_t, int, ushort, or whatever type is
  591.  *    used in the return value of getgroups().
  592.  */
  593. #define GROUPSTYPE unsigned short        /**/
  594.  
  595. /* I_FCNTL
  596.  *    This manifest constant tells the C program to include <fcntl.h>.
  597.  */
  598. #define    I_FCNTL    /**/
  599.  
  600. /* I_GDBM
  601.  *    This symbol, if defined, indicates that gdbm.h exists and should
  602.  *    be included.
  603.  */
  604. #define    I_GDBM        /**/
  605. #define HAS_GDBM
  606.  
  607. /* I_GRP
  608.  *    This symbol, if defined, indicates to the C program that it should
  609.  *    include grp.h.
  610.  */
  611. /* #define    I_GRP        /**/
  612.  
  613. /* I_NETINET_IN
  614.  *    This symbol, if defined, indicates to the C program that it should
  615.  *    include netinet/in.h.
  616.  */
  617. /* I_SYS_IN
  618.  *    This symbol, if defined, indicates to the C program that it should
  619.  *    include sys/in.h.
  620.  */
  621. /* #define    I_NETINET_IN        /**/
  622. /*#undef    I_SYS_IN        /**/
  623.  
  624. /* I_PWD
  625.  *    This symbol, if defined, indicates to the C program that it should
  626.  *    include pwd.h.
  627.  */
  628. /* PWQUOTA
  629.  *    This symbol, if defined, indicates to the C program that struct passwd
  630.  *    contains pw_quota.
  631.  */
  632. /* PWAGE
  633.  *    This symbol, if defined, indicates to the C program that struct passwd
  634.  *    contains pw_age.
  635.  */
  636. /* PWCHANGE
  637.  *    This symbol, if defined, indicates to the C program that struct passwd
  638.  *    contains pw_change.
  639.  */
  640. /* PWCLASS
  641.  *    This symbol, if defined, indicates to the C program that struct passwd
  642.  *    contains pw_class.
  643.  */
  644. /* PWEXPIRE
  645.  *    This symbol, if defined, indicates to the C program that struct passwd
  646.  *    contains pw_expire.
  647.  */
  648. /* PWCOMMENT
  649.  *    This symbol, if defined, indicates to the C program that struct passwd
  650.  *    contains pw_comment.
  651.  */
  652. /* #define    I_PWD        /**/
  653. /* #define    PWQUOTA        /**/
  654. /*#undef    PWAGE        /**/
  655. /*#undef    PWCHANGE    /**/
  656. /*#undef    PWCLASS        /**/
  657. /*#undef    PWEXPIRE    /**/
  658. /* #define    PWCOMMENT    /**/
  659.  
  660. /* I_SYS_FILE
  661.  *    This manifest constant tells the C program to include <sys/file.h>.
  662.  */
  663. /* #define    I_SYS_FILE    /**/
  664.  
  665. /* I_SYSIOCTL
  666.  *    This symbol, if defined, indicates that sys/ioctl.h exists and should
  667.  *    be included.
  668.  */
  669. #define    I_SYSIOCTL        /**/
  670.  
  671. /* I_TIME
  672.  *    This symbol is defined if the program should include <time.h>.
  673.  */
  674. /* I_SYS_TIME
  675.  *    This symbol is defined if the program should include <sys/time.h>.
  676.  */
  677. /* SYSTIMEKERNEL
  678.  *    This symbol is defined if the program should include <sys/time.h>
  679.  *    with KERNEL defined.
  680.  */
  681. /* I_SYS_SELECT
  682.  *    This symbol is defined if the program should include <sys/select.h>.
  683.  */
  684. #define    I_TIME         /**/
  685. /* #define    I_SYS_TIME     /**/
  686. /*#undef    SYSTIMEKERNEL     /**/
  687. /*#undef    I_SYS_SELECT     /**/
  688.  
  689. /* I_UTIME
  690.  *    This symbol, if defined, indicates to the C program that it should
  691.  *    include utime.h.
  692.  */
  693. /*#undef    I_UTIME        /**/
  694.  
  695. /* I_VARARGS
  696.  *    This symbol, if defined, indicates to the C program that it should
  697.  *    include varargs.h.
  698.  */
  699. #define    I_VARARGS        /**/
  700.  
  701. /* I_VFORK
  702.  *    This symbol, if defined, indicates to the C program that it should
  703.  *    include vfork.h.
  704.  */
  705. /* #define    I_VFORK        /**/
  706.  
  707. /* INTSIZE
  708.  *    This symbol contains the size of an int, so that the C preprocessor
  709.  *    can make decisions based on it.
  710.  */
  711. #ifdef __MSHORT__
  712. #define INTSIZE 2        /**/
  713. #else
  714. #define INTSIZE 4        /**/
  715. #endif
  716.  
  717. /* I_DIRENT
  718.  *    This symbol, if defined, indicates that the program should use the
  719.  *    P1003-style directory routines, and include <dirent.h>.
  720.  */
  721. /* I_SYS_DIR
  722.  *    This symbol, if defined, indicates that the program should use the
  723.  *    directory functions by including <sys/dir.h>.
  724.  */
  725. /* I_NDIR
  726.  *    This symbol, if defined, indicates that the program should include the
  727.  *    system's version of ndir.h, rather than the one with this package.
  728.  */
  729. /* I_SYS_NDIR
  730.  *    This symbol, if defined, indicates that the program should include the
  731.  *    system's version of sys/ndir.h, rather than the one with this package.
  732.  */
  733. /* I_MY_DIR
  734.  *    This symbol, if defined, indicates that the program should compile
  735.  *    the ndir.c code provided with the package.
  736.  */
  737. /* DIRNAMLEN
  738.  *    This symbol, if defined, indicates to the C program that the length
  739.  *    of directory entry names is provided by a d_namlen field.  Otherwise
  740.  *    you need to do strlen() on the d_name field.
  741.  */
  742. #define    I_DIRENT    /**/
  743. /*#undef    I_SYS_DIR    /**/
  744. /*#undef    I_NDIR        /**/
  745. /*#undef    I_SYS_NDIR    /**/
  746. /*#undef    I_MY_DIR    /**/
  747. /*#undef    DIRNAMLEN    /**/
  748.  
  749. /* MALLOCPTRTYPE
  750.  *    This symbol defines the kind of ptr returned by malloc and realloc.
  751.  */
  752. #define MALLOCPTRTYPE void         /**/
  753.  
  754.  
  755. /* RANDBITS
  756.  *    This symbol contains the number of bits of random number the rand()
  757.  *    function produces.  Usual values are 15, 16, and 31.
  758.  */
  759. #ifdef __MSHORT__
  760. #define RANDBITS 15        /**/
  761. #else
  762. #define RANDBITS 31        /**/
  763. #endif
  764.  
  765. /* SCRIPTDIR
  766.  *    This symbol holds the name of the directory in which the user wants
  767.  *    to keep publicly executable scripts for the package in question.  It
  768.  *    is often a directory that is mounted across diverse architectures.
  769.  */
  770. #define SCRIPTDIR "/bin"             /**/
  771.  
  772. /* SIG_NAME
  773.  *    This symbol contains an list of signal names in order.
  774.  */
  775. #define SIG_NAME "ZERO","HUP","INT","QUIT","ILL","TRAP","ABRT","EMT","FPE","KILL","BUS","SEGV","SYS","PIPE","ALRM","TERM","URG","STOP","TSTP","CONT","CLD","TTIN","TTOU","IO","XCPU","XFSZ","VTALRM","PROF","WINCH","USR1","USR2"        /**/
  776.  
  777. /* STDCHAR
  778.  *    This symbol is defined to be the type of char used in stdio.h.
  779.  *    It has the values "unsigned char" or "char".
  780.  */
  781. #define STDCHAR unsigned char    /**/
  782.  
  783. /* UIDTYPE
  784.  *    This symbol has a value like uid_t, int, ushort, or whatever type is
  785.  *    used to declare user ids in the kernel.
  786.  */
  787. #define UIDTYPE uid_t        /**/
  788.  
  789. /* VOIDHAVE
  790.  *    This symbol indicates how much support of the void type is given by this
  791.  *    compiler.  What various bits mean:
  792.  *
  793.  *        1 = supports declaration of void
  794.  *        2 = supports arrays of pointers to functions returning void
  795.  *        4 = supports comparisons between pointers to void functions and
  796.  *            addresses of void functions
  797.  *
  798.  *    The package designer should define VOIDWANT to indicate the requirements
  799.  *    of the package.  This can be done either by #defining VOIDWANT before
  800.  *    including config.h, or by defining voidwant in Myinit.U.  If the level
  801.  *    of void support necessary is not present, config.h defines void to "int",
  802.  *    VOID to the empty string, and VOIDP to "char *".
  803.  */
  804. /* void
  805.  *    This symbol is used for void casts.  On implementations which support
  806.  *    void appropriately, its value is "void".  Otherwise, its value maps
  807.  *    to "int".
  808.  */
  809. /* VOID
  810.  *    This symbol's value is "void" if the implementation supports void
  811.  *    appropriately.  Otherwise, its value is the empty string.  The primary
  812.  *    use of this symbol is in specifying void parameter lists for function
  813.  *    prototypes.
  814.  */
  815. /* VOIDP
  816.  *    This symbol is used for casting generic pointers.  On implementations
  817.  *    which support void appropriately, its value is "void *".  Otherwise,
  818.  *    its value is "char *".
  819.  */
  820. #ifndef VOIDWANT
  821. #define VOIDWANT 7
  822. #endif
  823. #define VOIDHAVE 7
  824. #if (VOIDHAVE & VOIDWANT) != VOIDWANT
  825. #define void int        /* is void to be avoided? */
  826. #define VOID
  827. #define VOIDP (char *)
  828. #define M_VOID        /* Xenix strikes again */
  829. #else
  830. #define VOID void
  831. #define VOIDP (void *)
  832. #endif
  833.  
  834. /* PRIVLIB
  835.  *    This symbol contains the name of the private library for this package.
  836.  *    The library is private in the sense that it needn't be in anyone's
  837.  *    execution path, but it should be accessible by the world.  The program
  838.  *    should be prepared to do ~ expansion.
  839.  */
  840. /* #define PRIVLIB "/usr/lib/perl"        /**/
  841. extern char *PRIVLIB;    /* $PERLIB or /lib */
  842.  
  843. /* param.h does'nt really need types, but is #define'ed to make sure types.h
  844.  * is included
  845.  */
  846. #define PARAM_NEEDS_TYPES
  847. #endif
  848.